import request from '@/utils/request'

export function getList(params) {
  return request({
    //后端路径
    url: '/produceWorkOrder/getList',
    method: 'get',
    params
  })
}

export function addProduceWorkOrder(params) {
  return request({
    //后端路径
    url: '/produceWorkOrder/addProduceWorkOrder',
    method: 'get',
    params
  })
}

export function delBatchWorkOrders(params) {
  return request({
    //后端路径
    url: '/produceWorkOrder/delBatchWorkOrders',
    method: 'get',
    params
  })
}
export function workOrderDown(params) {
  return request({
    //后端路径
    url: '/produceWorkOrder/workOrderDown',
    method: 'get',
    params
  })
}
export function workOrderStop(params) {
  return request({
    //后端路径
    url: '/produceWorkOrder/workOrderStop',
    method: 'get',
    params
  })
}

export function workOrderClose(params) {
  return request({
    //后端路径
    url: '/produceWorkOrder/workOrderClose',
    method: 'get',
    params
  })
}

